//////////////////////////////////////////////////////////////////////////
// FileName:SysFunctions
// CreateBy:DragonXiong
// CreateDate:2009-5-4
// Description:
//		Class SysFunctions,table _SysFunctions
//      
// Modify Log:20100113:Add column IsMenu --DragonXiong
//	
// Copyright:ASL-MIS
/////////////////////////////////////////////////////////////////////////
using System;
using System.Collections.Generic;
using System.Text;

namespace Auto.Data.Systems.Model
{
    /// <summary>
    /// 
    /// </summary>
    public class SysFunctions
    {

        /// <summary>Data Table _SysFunctions</summary>
        public const String SYSFUNCTIONS_TABLE = "_SysFunctions";


        #region --Field--
        /// <summary>
        /// (RecID Type:Int32)
        /// </summary>
        public const string FIELD_RecID = "RecID";

        /// <summary>
        /// (CultureInfo Type:String Len:10)
        /// </summary>
        public const string FIELD_CultureInfo = "CultureInfo";

        /// <summary>
        /// (SysID Type:String Len:20)
        /// </summary>
        public const string FIELD_SysID = "SysID";

        /// <summary>
        /// (FuncID Type:String Len:20)
        /// </summary>
        public const string FIELD_FuncID = "FuncID";

        /// <summary>
        /// (ParentID Type:String Len:20)
        /// </summary>
        public const string FIELD_ParentID = "ParentID";

        /// <summary>
        /// (FuncName Type:String Len:30)
        /// </summary>
        public const string FIELD_FuncName = "FuncName";

        /// <summary>
        /// (URL Type:String Len:100)
        /// </summary>
        public const string FIELD_URL = "URL";

        /// <summary>
        /// (Target Type:String Len:10)
        /// </summary>
        public const string FIELD_Target = "Target";

        /// <summary>
        /// (Icon Type:String Len:20)
        /// </summary>
        public const string FIELD_Icon = "Icon";

        /// <summary>
        /// (Path Type:String Len:200)
        /// </summary>
        public const string FIELD_Path = "Path";

        /// <summary>
        ///(IsEnd Type:Bit)
        /// </summary>
        public const string FIELD_IsEnd = "IsEnd";

        /// <summary>
        ///(IsMenu Type:Bit)
        /// </summary>
        public const string FIELD_IsMenu = "IsMenu";

        #endregion --Field--


        #region --Property--
        private int _recid;
        private string _cultureinfo;
        private string _sysid;
        private string _funcid;
        private string _parentid;
        private string _funcname;
        private string _url;
        private string _target;
        private string _icon;
        private string _path;
        private bool _isend;
        private bool _ismenu;
        /// <summary>
        /// RecID
        /// </summary>
        public int RecID
        {
            set { _recid = value; }
            get { return _recid; }
        }

        /// <summary>
        /// Culture Information
        /// </summary>
        public string CultureInfo
        {
            set { _cultureinfo = value; }
            get { return _cultureinfo; }
        }

        /// <summary>
        /// System ID
        /// </summary>
        public string SysID
        {
            set { _sysid = value; }
            get { return _sysid; }
        }

        /// <summary>
        /// Function ID
        /// </summary>
        public string FuncID
        {
            set { _funcid = value; }
            get { return _funcid; }
        }
     
        /// <summary>
        /// Parent ID
        /// </summary>
        public string ParentID
        {
            set { _parentid = value; }
            get { return _parentid; }
        }
        /// <summary>
        /// Function Name
        /// </summary>
        public string FuncName
        {
            set { _funcname = value; }
            get { return _funcname; }
        }
        /// <summary>
        /// URL
        /// </summary>
        public string URL
        {
            set { _url = value; }
            get { return _url; }
        }
        /// <summary>
        /// Target
        /// </summary>
        public string Target
        {
            set { _target = value; }
            get { return _target; }
        }
        /// <summary>
        /// Icon
        /// </summary>
        public string Icon
        {
            set { _icon = value; }
            get { return _icon; }
        }
        /// <summary>
        /// Path
        /// </summary>
        public string Path
        {
            set { _path = value; }
            get { return _path; }
        }
        /// <summary>
        /// Is End or not
        /// </summary>
        public bool IsEnd
        {
            set { _isend = value; }
            get { return _isend; }
        }
        /// <summary>
        /// Is Menu or not
        /// </summary>
        public bool IsMenu
        {
            set { _ismenu = value; }
            get { return _ismenu; }
        }

        #endregion --Property--

        #region --New--
        /// <summary>
        /// Initializes a new instance of the <see cref="SysFunctions"/> class.
        /// </summary>
        public SysFunctions()
        {
            this._funcid = string.Empty;
            this._sysid = string.Empty;
            this._parentid = string.Empty;
            this._funcname = string.Empty;
            this._url = string.Empty;
            this._target = string.Empty;
            this._icon = string.Empty;
            this._path = string.Empty;
            this._isend = false;
            this._ismenu = true;
        }
        #endregion --New--
    }
}
